package com.example.jwtlearning.utils;

import io.jsonwebtoken.Claims;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: anlu
 * @Date: 2021/08/09
 * @Description:
 */
public class ResultCode {

    /**
     * checkResult.setSuccess(true);
     *             checkResult.setClaims(claims);
     *             setErrCode
     */

    private Boolean success;
    private String errCode;
    private Claims claims;

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getErrCode() {
        return errCode;
    }

    public void setErrCode(String errCode) {
        this.errCode = errCode;
    }

    public Claims getClaims() {
        return claims;
    }

    public void setClaims(Claims claims) {
        this.claims = claims;
    }
}
